package top.wangjiu.java.jvm.attribute.annotation.info;

public class AnnotationInfo {

    private final short typeIndex;
    private final short  numElementValuePairs;
    private ElementValuePairs[] elementValuePairs;

    public AnnotationInfo(short typeIndex,ElementValuePairs[] elementValuePairs){
        this.typeIndex = typeIndex;
        this.numElementValuePairs = (short) elementValuePairs.length;
        this.elementValuePairs = elementValuePairs;
    }
}
